﻿using LP;
using System.Runtime.CompilerServices;
using Logic.Launch.UI;

namespace Launch
{
    public sealed class LaunchModule : AbsModule
    {
        public override void RegMgrs()
        {
            RegMgr<AssetBundleUpdateMgr>();
        }

        public override void OnInit()
        {
            base.OnInit();
            Global.WindowMgrIns.ShowWindow<LaunchWindow>();
        }

        public override void OnDestroy()
        {
            Global.WindowMgrIns.HideWindow<LaunchWindow>();
            base.OnDestroy();
        }
    }
}